//
//  UUOrderDetailRequestModel.m
//  UUCharterSupplier
//
//  Created by ZhangAo on 24/02/2018.
//  Copyright © 2018 UUCharter. All rights reserved.
//

#import "UUOrderDetailRequestModel.h"
#import "UUOrderModel.h"

@implementation UUOrderDetailRequestModel

- (instancetype)init {
    self = [super init];
    if (self) {
        [self addIgnoredObjects:@[@"orderId"]];
    }
    return self;
}

- (NSString *)url {
    return [NSString stringWithFormat:@"order/%@", self.orderId];
}

- (DKHTTPMethod)HTTPMethod {
    return DKHTTPMethodGet;
}

- (Class)responseModelClass {
    return [UUOrderDetailModel class];
}

@end
